

    \filetitle{plotyy}{Line plot function with LHS and RHS axes for time series}{tseries/plotyy}

	\paragraph{Syntax}

\begin{verbatim}
[Ax,Lhs,Rhs,Range] = plotyy(X,Y,...)
[Ax,Lhs,Rhs,Range] = plotyy(Range,X,Y,...)
[Ax,Lhs,Rhs,Range] = plotyy(RangeLhs,X,RangeRhs,Y,...)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{Range} {[} numeric \textbar{} char {]} - Date range; if not
  specified the entire range of the input tseries object will be
  plotted.
\item
  \texttt{RangeLhs} {[} numeric \textbar{} char {]} - LHS plot date
  range.
\item
  \texttt{RangeRhs} {[} numeric \textbar{} char {]} - RHS plot date
  range.
\item
  \texttt{X} {[} tseries {]} - Input tseries object whose columns will
  be plotted and labelled on the LHS.
\item
  \texttt{Y} {[} tseries {]} - Input tseries object whose columns will
  be plotted and labelled on the RHS.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\item
  \texttt{Ax} {[} handle \textbar{} numeric {]} - Handles to the LHS and
  RHS axes.
\item
  \texttt{Lhs} {[} handle \textbar{} numeric {]} - Handles to series
  plotted on the LHS axis.
\item
  \texttt{Rhs} {[} handle \textbar{} numeric {]} - Handles to series
  plotted on the RHS axis.
\item
  \texttt{Range} {[} handle \textbar{} numeric {]} - Actually plotted
  date range.
\end{itemize}

\paragraph{Options}

\begin{itemize}
\item
  \texttt{\textquotesingle{}coincide=\textquotesingle{}} {[}
  \texttt{true} \textbar{} \emph{\texttt{false}} {]} - Make the LHS and
  RHS y-axis grids coincide.
\item
  \texttt{\textquotesingle{}lhsPlotFunc=\textquotesingle{}} {[}
  \texttt{@area} \textbar{} \texttt{@bar} \textbar{}
  \emph{\texttt{@plot}} \textbar{} \texttt{@stem} {]} - Function that
  will be used to plot the LHS data.
\item
  \texttt{\textquotesingle{}lhsTight=\textquotesingle{}} {[}
  \texttt{true} \textbar{} \emph{\texttt{false}} {]} - Make the LHS
  y-axis tight.
\item
  \texttt{\textquotesingle{}rhsPlotFunc=\textquotesingle{}} {[}
  \texttt{@area} \textbar{} \texttt{@bar} \textbar{}
  \emph{\texttt{@plot}} \textbar{} \texttt{@stem} {]} - Function that
  will be used to plot the RHS data.
\item
  \texttt{\textquotesingle{}rhsTight=\textquotesingle{}} {[}
  \texttt{true} \textbar{} \emph{\texttt{false}} {]} - Make the RHS
  y-axis tight.
\end{itemize}

See help on \href{tseries/plot}{\texttt{tseries/plot}} and the built-in
function \texttt{plotyy} for all options available.

\paragraph{Description}

\paragraph{Example}


